﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:BrokenHouse.Windows.Parts.Transition">

    <Style x:Key="STYLE_Default" TargetType="{x:Type local:TransitionFrame}" 
            BasedOn="{StaticResource {x:Static local:TransitionElements.TransitionFrameStyleKey}}" >
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type local:TransitionFrame}">
                    <ContentPresenter x:Name="PART_Presenter" 
                                      HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                      VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                      Content="{TemplateBinding Content}"
                                      ContentTemplate="{TemplateBinding ContentTemplate}"
                                      ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Storyboard x:Key="TRANS_Default">
        <DoubleAnimation Storyboard.TargetProperty="RenderTransform.X" To="0"/>
        <DoubleAnimation Storyboard.TargetProperty="RenderTransform.Y" To="0"/>
    </Storyboard>

</ResourceDictionary>